<template>
  <div class="goods_hospital">
    <div class="city">{{ info.city }}</div>
    <div class="info">
      <div class="title">{{ info.name }}</div>
      <div class="address">{{ info.address }}</div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'GoodsHospital',
  props: {
    info: {
      type: Object,
      default: () => {
        return {};
      },
    },
    disabled: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {

    }
  }
}
</script>
<style lang="scss" scoped>
.goods_hospital {
  display: flex;

  .city {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #167fff;
    border-radius: 4px;
    font-size: 14px;
    font-family: PingFang SC-Regular, PingFang SC;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    line-height: 32px;
    margin-right: 7px;
    overflow: hidden;
  }

  .info {
    line-height: normal !important;

    .title {
      line-height: normal !important;
      font-size: 14px;
      color: #167fff;
    }

    .address {
      font-size: 12px;
      color: #999;
    }
  }
}
</style>